from django.conf.urls.static import static
from django.contrib import admin
from django.urls import path, include

from news import settings
from mainapp.urls import user_router

urlpatterns = [
    path('admin/', admin.site.urls),
    path(r'news/', include(user_router.urls)),
    path(r'^tinymce/', include('tinymce.urls')),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
